assume cs:code
code segment
    start:mov ax, 0
          mov es, ax
          mov di, 200h

          mov ax, cs
          mov ds, ax
          mov si, offset lp
          mov cx, offset lpe - offset lp

          cld
          rep movsb

          mov ax, 0
          mov es, ax
          mov word ptr es:[7ch*4],200h 
          mov word ptr es:[7ch*4 + 2], 0h

          mov ax, 4c00h
          int 21h

    lp: push bp
        mov bp, sp
        dec cx
        jcxz lpret
        add [bp+2], bx 
lperet:pop bp
       iret
    lpe:nop
    
code ends
end start

